package org.linloong.config.ai;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Map;

@Data
@Configuration
@ConfigurationProperties(prefix = "dify")
public class MultiDifyConfig {

    private Map<String, ModelConfig> models;

    @Data
    public static class ModelConfig {
        private String baseUrl;
        private String requestUrl;
        private String apiKey;
        private Integer connectTimeout = 30000;
        private Integer readTimeout = 60000;
        private String defaultUser = "default-user";
        private String description;
    }
}
